package com.haojin.contacs;

public class ArrayTest1 {
public static void main(String[] args) {
//	二维数组的声明与初始化：
	int[][] arr1 = new int[][]{{1,2,3},{4,5},{4,4,3}};
	int[][] arr2 = new int[9][9];
	int[][] arr  = new int[2][];
//	int[][] arr3 = new int[][4]; 错误的声明方式
	for(int i = 0;i<arr2.length;i++){
		for(int j = 0;j <arr2[i].length;j++){
			System.out.print(arr2[i][j]+" ");
		}
		System.out.println();
	}
	System.out.println(arr2[0]);
}
}
